﻿using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace RedDragon.Common.Domain.Process
{
    /// <summary>
    /// 工序管理
    /// </summary>
    [SugarTable("Process")]
    public class Process
    {
        /// <summary>
        /// 主键
        /// </summary>
        [SugarColumn(IsIdentity = true, IsPrimaryKey = true)]
        public int ProcessId { get; set; }
        /// <summary>
        /// 工序编码
        /// </summary>
        public string? ProcessNumber { get; set; }
        /// <summary>
        /// 工序名称
        /// </summary>
        public string? ProcessName { get; set; }
        /// <summary>
        /// 工作中心(雪花id)
        /// </summary>
        public string WorkCentreCode { get; set; }
        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime ProcessCreateTime { get; set; }
        /// <summary>
        /// 创建人
        /// </summary>
        public string? ProcessCreateName { get; set; }
        /// <summary>
        /// 状态
        /// </summary>
        public bool ProcessState { get; set; }
        /// <summary>
        /// 审批状态
        /// </summary>
        public int ProcessAudit { get; set; }
        /// <summary>
        /// 逻辑删除
        /// </summary>
        public bool IsDelProcess { get; set; }
    }
}
